@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f0f0
}

:root {
    --crimson: #641c1c;
    --crimson-dark: #4a1414;
    --crimson-light: #7d2222;
    --amber: #f0ae06;
    --amber-light: #f8c832;
    --amber-pale: #fff8e1;
    --white: #ffffff;
    --off: #fdf6f6;
}

.site-wrapper {
    width: 100%;
    overflow-x: hidden
}

/* ── TOP BAR ── */
.topbar {
    background: var(--crimson-dark);
    padding: 6px 0;
    border-bottom: 1px solid rgba(240, 174, 6, 0.2)
}

.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

.topbar-chip {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px
}

.topbar-chip i {
    font-size: 12px;
    color: var(--amber)
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15)
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s
}

.topbar-social a:hover {
    color: var(--amber)
}

/* ── IDENTITY BAND ── */
.identity-band {
    background: var(--amber);
    padding: 7px 0 7px;
    position: relative
}

.identity-band::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--crimson-dark), var(--amber) 30%, var(--amber-light) 50%, var(--amber) 70%, var(--crimson-dark))
}

.identity-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px
}

/* ── CIRCLE LOGO ── */
.logo-circle {
    width: 130px;
    height: 130px;
    /* border-radius: 50%; */
    /* background: rgba(255, 255, 255, 0.08); */
    /* border: 2px solid rgba(255, 255, 255, 0.5); */
    /* box-shadow: 0 2px 12px rgba(250, 250, 250, 0.691); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    perspective: 600px;
    -moz-perspective: 600px;
    /* explicit -moz prefix helps older FF */
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 50% */
}

.logo-circle i {
    font-size: 30px;
    color: var(--amber)
}

/* Flip mechanic */
.flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: flipLogo 6s cubic-bezier(0.4, 0.2, 0.2, 1) infinite;
    -moz-transform-style: preserve-3d;
    will-change: transform;
    /* forces its own compositing layer */
}

.flipper.flipped {
    transform: rotateY(180deg);
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

.face-back {
    transform: rotateY(180deg) translateZ(0.01px);
}

@keyframes flipLogo {
    0% {
        transform: rotateY(0deg);
    }

    11.67% {
        transform: rotateY(180deg);
    }

    /* flip 1 done at 0.7s */
    50% {
        transform: rotateY(180deg);
    }

    /* hold face-back until 3s */
    61.67% {
        transform: rotateY(360deg);
    }

    /* flip 2 done at 3.7s */
    100% {
        transform: rotateY(360deg);
    }

    /* hold face-front until loop resets at 6s */
}

.org-logo img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.identity-text {
    flex: 1;
    text-align: center
}

.gate-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 6px
}

.gate-label span {
    width: 24px;
    height: 1px;
    background: var(--crimson);
    opacity: 0.5;
    display: inline-block
}

.gate-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(27px, 2.4vw, 35px);
    font-weight: 700;
    color: var(--crimson);
    letter-spacing: 0.05em;
    line-height: 1.15;
    text-transform: uppercase
}

.gate-title em {
    color: #fff;
    font-style: normal
}

.gate-org {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 5px;
    letter-spacing: 0.03em
}

.gate-org strong {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500
}

/* ── STICKY NAVBAR ── */
.navbar-wrap {
    background: #fdf6f6;
    border-bottom: 3px solid var(--amber);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(100, 28, 28, 0.1);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 52px
}

.nav-left {
    display: flex;
    align-items: stretch;
    gap: 0;
    /* flex: 1 */
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3a1010;
    text-decoration: none;
    padding: 0 13px;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    white-space: nowrap;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.nav-item>a:hover,
.nav-item>a.active {
    color: var(--crimson);
    border-bottom-color: var(--crimson);
    background: rgba(100, 28, 28, 0.04)
}

.nav-item>a .chev {
    font-size: 10px;
    opacity: 0.55;
    transition: transform 0.22s
}

.nav-item:hover>a .chev {
    transform: rotate(180deg)
}

/* dropdown */
.nav-item .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 235px;
    border: 1px solid rgba(100, 28, 28, 0.1);
    border-top: 3px solid var(--crimson);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 32px rgba(100, 28, 28, 0.12);
    z-index: 9999;
    padding: 6px 0;
}

.nav-item:hover .dropdown {
    display: block
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 400;
    color: #3a1010;
    text-decoration: none;
    padding: 10px 18px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background: rgba(100, 28, 28, 0.05);
    color: var(--crimson);
    border-left-color: var(--amber);
    padding-left: 22px
}

.dropdown a i {
    font-size: 13px;
    color: var(--amber);
    flex-shrink: 0
}

/* portal button */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px
}

.btn-portal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--amber);
    color: var(--crimson-dark);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid var(--amber);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-portal:hover {
    background: var(--crimson);
    color: #fff;
    border-color: var(--crimson)
}

.btn-portal i {
    font-size: 13px
}

/* hamburger */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    background: rgba(100, 28, 28, 0.07);
    border-radius: 6px;
    border: none;
    color: var(--crimson);
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(100, 28, 28, 0.14)
}

/* ── MOBILE COLLAPSIBLE MENU ── */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(100, 28, 28, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 600px
}

.mobile-menu-inner {
    padding: 8px 0 16px
}

.mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #3a1010;
    text-decoration: none;
    padding: 11px 24px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
}

.mob-link:hover,
.mob-link.active {
    color: var(--crimson);
    background: rgba(100, 28, 28, 0.04);
    border-left-color: var(--amber)
}

.mob-link i.chev {
    font-size: 11px;
    color: #aaa;
    transition: transform 0.22s
}

.mob-link.expanded i.chev {
    transform: rotate(180deg)
}

.mob-sub {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
    background: rgba(100, 28, 28, 0.02)
}

.mob-sub.open {
    max-height: 320px
}

.mob-sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #555;
    text-decoration: none;
    padding: 9px 24px 9px 36px;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}

.mob-sub a:hover {
    color: var(--crimson);
    border-left-color: var(--amber);
    background: rgba(100, 28, 28, 0.04)
}

.mob-sub a i {
    font-size: 13px;
    color: var(--amber)
}

.mob-apply {
    margin: 12px 24px 4px;
    display: flex;
}

.mob-apply a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--amber);
    color: var(--crimson-dark);
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--amber);
    transition: all 0.2s;
}

.mob-apply a:hover {
    background: var(--crimson);
    color: #fff;
    border-color: var(--crimson)
}

/* ── ACCENT STAT BAND ── */
.accent-band {
    background: var(--off);
    border-bottom: 1px solid rgba(100, 28, 28, 0.08);
    padding: 10px 0
}

.accent-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0
}

.stat-item {
    text-align: center;
    padding: 6px 22px;
    border-right: 1px solid rgba(100, 28, 28, 0.12)
}

.stat-item:last-child {
    border-right: none
}

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--crimson);
    display: block;
    line-height: 1
}

.stat-lbl {
    font-size: 10px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
    display: block
}

/* page content */
.page-content {
    padding: 40px 24px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center
}

.page-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    color: var(--crimson);
    margin-bottom: 8px
}

.page-content p {
    font-size: 13px;
    color: #888
}

.navbar-inner {
    min-height: 52px
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    /* flex: 1 */
}

.nav-brand-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(100, 28, 28, 0.08);
    /* border: 2px solid rgba(240, 174, 6, 0.5); */
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-brand-logo i {
    font-size: 16px;
    color: var(--crimson)
}

.nav-brand-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--crimson);
    line-height: 1.1;
    letter-spacing: 0.03em
}

.nav-brand-sub {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.04em
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {

    .nav-left,
    .nav-right .btn-portal {
        display: none
    }

    .hamburger {
        display: flex
    }

    .mobile-menu {
        display: block
    }

    .nav-brand {    
    flex: 1
}

}

@media(max-width:600px) {

    .topbar-left .topbar-chip:not(:first-child),
    .topbar-left .topbar-divider:not(:first-of-type) {
        display: none
    }

    .logo-circle {
        width: 65px;
        height: 65px
    }

    .logo-circle i {
        font-size: 22px
    }

    .gate-title {
        font-size: 22px
    }

    .gate-org {
        font-size: 12px
    }

    .gate-org strong {
        font-size: 14px
    }

    .identity-inner {
        gap: 12px;
        padding: 0 16px
    }

    .stat-item {
        padding: 6px 14px
    }

    .stat-num {
        font-size: 15px
    }
}